﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;
using 纸片人.InterfaceFolder;

namespace 纸片人.ConvertClass
{
    public class ColorToBrush:IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, string language)
        {
            
                return new SolidColorBrush((Color)value);

          
            
      
        }

        public object ConvertBack(object value, Type targetType, object parameter, string language)
        {
            throw new NotImplementedException();
        }
    }
}
